import {
  Input,
  Form,
  Button,
  Select,
  Layout,
  Menu,
  Popover,
  Tag,
  Result,
  Table,
  Popconfirm,
  Space,
  Modal,
  Upload,
  Typography,
  DatePicker,
  Tooltip,
  ConfigProvider,
  Carousel,
} from "ant-design-vue";
const components = [
  Input,
  Form,
  Button,
  Select,
  Layout,
  Menu,
  Popover,
  Tag,
  Result,
  Table,
  Popconfirm,
  Space,
  Modal,
  Upload,
  Typography,
  DatePicker,
  Tooltip,
  ConfigProvider,
  Carousel,
];

export function setupAntd(app) {
  components.forEach((component) => {
    app.use(component);
  });
}
